package com.guigu.tms.oms.service.impl;

import com.guigu.tms.commons.order.entity.CoreOrg;
import com.guigu.tms.oms.mapper.CoreOrgMapper;
import com.guigu.tms.oms.service.ICoreOrgService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 组织 服务实现类
 * </p>
 *
 * @author zwj
 * @since 2022-10-11
 */
@Service
//@DS("base")
public class CoreOrgServiceImpl extends ServiceImpl<CoreOrgMapper, CoreOrg> implements ICoreOrgService {

    @Autowired
    private CoreOrgMapper coreOrgMapper;

    @Override
    public CoreOrg getCoreOrgById(String id) {
        return coreOrgMapper.selectById(id);
    }
}
